<!-- BEGIN items -->
<table>
	<colgroup>
		<col style="width: 40%;" />
		<col style="width: 25%;" />
		<col style="width: 15%;" />
		<col style="width: 10%;" />
		<col style="width: 10%;" />
	</colgroup>
	<thead>
		<tr>
			<th>{wCOLNAME}</th>
			<th>{wCOLPRICE}</th>
			<th>{wCOLVINTAGE}</th>
			<th>{wEDIT}</th>
			<th>{wDELETE}</th>
		</tr>
	</thead>
	<tbody>
		<!-- BEGIN listitems -->
		<tr>
			<td>{LNAME}</td>
			<td>{LPRICE}</td>
			<td>{LVINTAGE}</td>
			<td>{EDITROW}</td>
			<td>{DELETEROW}</td>
		</tr>
		<!-- END listitems -->
	</tbody>
</table>
{DATAPAGER}
<form action="{ACTION}" method="post">
	<p><input name="new" type="submit" value="{wCREATENEW}" /></p>
</form>
<form action="{ACTION}" method="post" enctype="multipart/form-data">
	<fieldset><legend>{wEDIT}</legend>
		<p class="topbuttons">
			<input name="reset" type="reset" value="{wRESET}" />
			<input name="apply" type="submit" value="{wAPPLY}" />
			<input name="submit" type="submit" value="{wSAVE}" />
		</p>
		<p>
			<label>Značka:</label>
			{FULLBRAND}
		</p>
		<p>
			<label>Model:</label>
			<input name="name" id="name" type="text" value="{COLNAME}" />
		</p>
		<p>
			<label>Kategorie:</label>
			{FULLTYPE}
		</p>
		<p>
			<label>Objem:</label>
			<input name="cubature" id="cubature" type="text" value="{COLCUBATURE}" />
			<span>ccm</span>
		</p>
		<p>
			<label>Stav:</label>
			{FULLSTATE}
		</p>
		<p>
			<label>Rok výroby:</label>
			{FULLVINTAGE}
		</p>
		<p>
			<label>Najeto:</label>
			<input name="kilometers" id="kilometers" type="text" value="{COLKILOMETERS}" />
			<span>km</span>
		</p>
		<p>
			<label>Výkon:</label>
			<input name="power" id="power" type="text" value="{COLPOWER}" />
		</p>
		<p>
			<label>Cena:</label>
			<input name="price" id="price" type="text" value="{COLPRICE}" />
		</p>
		<p>
			<label>Cena se slevou:</label>
			<input name="discounted_price" id="discounted_price" type="text" value="{COLDISCOUNTEDPRICE}" />
			<span class="small">Nechte prázdné nebo 0 a použije se pouze pole Cena</span>
		</p>
		<p>
			<label>Dostupnost:</label>
			{FULLAVAIL}
		</p>
		<p>
			<label>Splátky / leasing:</label>
			{FULLCOLLEASING}
		</p>
		<p>
			<label>STK:</label>
			{FULLCOLTECHNICALAPPROVE}
		</p>
		<p>
			<label>Odpočet DPH:</label>
			{FULLCOLTAX}
		</p>
		<p>
			<label>Původ:</label>
			{FULLORIGIN}
		</p>
		<p>
			<label>Promo nabídka:</label>
			{FULLCOLPROMO}
		</p>
		<p>
			<label>Popis základní:</label>
			<textarea cols="50" rows="9" name="pretext" id="pretext" class="small editor">{COLPRETEXT}</textarea>
		</p>
		<p>
			<label>Popis podrobný:</label>
			<textarea cols="50" rows="9" name="description" id="description" class="editor">{COLDESCRIPTION}</textarea>
		</p>
		<p>
			<label>Přidat obrázek:</label>
			<input name="image[]" type="file" />
		</p>
		<p>
			<label>Přidat obrázek:</label>
			<input name="image[]" type="file" />
		</p>
		<p>
			<label>Přidat obrázek:</label>
			<input name="image[]" type="file" />
		</p>
		<p>
			<label>Přidat obrázek:</label>
			<input name="image[]" type="file" />
		</p>
		<p>
			<label>Přidat obrázek:</label>
			<input name="image[]" type="file" />
		</p>
		
		
		
		<table>
			<colgroup>
				<col style="width: 90%;" />
				<col style="width: 10%;" />
			</colgroup>
			<thead>
				<tr>
					<th>{wTHUMB}</th>
					<th>{wDELETE}</th>
				</tr>
			</thead>
			<tbody>
				<!-- BEGIN imageslist -->
				<tr>
					<td>{THUMB}</td>
					<td>{DELETEROW}</td>
				</tr>
				<!-- END imageslist -->
			</tbody>
		</table>
		
		
		
		<p class="bottombuttons">
			<input name="edit" type="hidden" value="{COLID}" />
			<input name="act" type="hidden" value="{ACTIONNAME}" />
			<input name="reset" type="reset" value="{wRESET}" />
			<input name="apply" type="submit" value="{wAPPLY}" />
			<input name="submit" type="submit" value="{wSAVE}" />
		</p>
	</fieldset>
</form>
<!-- END items -->

